package com.wntms.wgj.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.wntms.gps.pojo.CustomerIn;
import com.wntms.gps.pojo.CustomerInformation;
import com.wntms.gps.pojo.DriverInformation;
import lombok.Data;

import java.util.Date;


/**
 * 运输合同对象 carriage_contract
 * 
 * @author group 4
 * @date 2022-11-22
 */
@Data
public class CarriageContracts
{
    /** 运输合同单号 */
    private String cid;

    /** 货运编号 */
    private String fid;

    /** 发货人senderid */
    private Long senderid;

    /** 发货人*/
    private CustomerInformations customerInformations;

    /** 交货点receive_address */
    private String receiveAddress;

    /** 起运时间shipping_time */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date shippingTime;

    /** 预计到达时间arrival_time */
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date arrivalTime;

    /** 收货客户信息idreceiverid */
    private Long receiverid;

    /** 收货人*/
    private CustomerIns customerIns;

    /** 保险费insurance */
    private Double insurance;

    /** 运费fare */
    private Double fare;

    /** 运单状态statusid */
    private Integer status;

    /** 有效性sence */
    private Integer sence;

    /** 司机信息表id */
    private Long diid;

    /** 司机信息 */
    private DriverInformations driverInformations;

    /** 货运状态 */
    private FreightStatus freightStatus;

}
